from selenium import webdriver
from selenium.webdriver.ie.service import Service
from webdriver_manager.microsoft import EdgeChromiumDriverManager

driver=webdriver.Edge(service=Service(EdgeChromiumDriverManager().install()))
driver.get("https://www.baidu.com")
driver.quit()